﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.DataAccess;

namespace Core.BusinessLogic.Interfaces
{
    public interface IMessageService
    {
        void SaveMessage(Message mesage);
        int CountMessages(int accountID);
        List<Message> GetMessagesByAccountID(int accountID);
        void UpdateMessageIsRead(Message msg);
        void DeleteMessageByAccountID(int accountID, int friendID);
    }
}
